<template>
  <div>
    <el-card class="box-card">
      <el-table :data="tableData"
                style="width: 100%">
        <el-table-column
          prop="index"
          label="订单号"
          width="80">
        </el-table-column>
        <el-table-column
          prop="recipients"
          label="顾客名"
          width="140">
        </el-table-column>
        <el-table-column
          prop="gno"
          label="商品号"
          width="140">
        </el-table-column>
        <el-table-column
          prop="name"
          label="商品名称"
          width="140">
        </el-table-column>
        <el-table-column
          prop="date"
          label="下单日期"
          width="140">
        </el-table-column>
        <el-table-column
          prop="transported"
          label="运费"
          width="140">
        </el-table-column>
        <el-table-column
          prop="address"
          label="收件地址"
          width="140">
        </el-table-column>
        <el-table-column
          prop="telephone"
          label="联系电话"
          width="140">
        </el-table-column>
        <el-table-column
          prop="invoice"
          label="库存量"
          width="140">
        </el-table-column>
      </el-table>
    </el-card>
  </div>
</template>

<script>
export default {
  data: function () {
    return {
      tableData: [{
        index: '1',
        recipients: '张三',
        name: '羽毛球',
        money: '20',
        gno: '6',
        date: '2001-5-5',
        transported: '10',
        address: '北京朝阳区',
        telephone: '1897589625',
        invoice: '20'
      },
      {
        index: '2',
        recipients: '李四',
        gno: '5',
        name: '毽子',
        date: '2001-5-6',
        transported: '10',
        address: '广州潮汕区',
        telephone: '1846523245',
        invoice: '25'
      },
      {
        index: '3',
        recipients: '王麻子',
        gno: '6',
        name: '排球',
        date: '2001-5-14',
        transported: '10',
        address: '遵义花岗区',
        telephone: '1158523245',
        invoice: '25'
      },
      {
        index: '4',
        recipients: '肖四',
        gno: '6',
        name: '运动单车',
        date: '2001-4-14',
        transported: '10',
        address: '河南郑州',
        telephone: '1895425295',
        invoice: '30'
      },
      {
        index: '3',
        recipients: '老王',
        gno: '6',
        name: '足球',
        date: '2001-6-5',
        transported: '10',
        address: '北京大兴',
        telephone: '14896518765',
        invoice: '25'
      }
      ]
    }
  }
}
</script>

<style scoped>

</style>
